Skip to content

Conversation

@takeshishimada
Copy link
Owner

Summary

  • Update The Composable Architecture from version 1.22.2 to 1.22.3
  • Update SwiftSyntax version range to support 603.0.0 (aligning with TCA PR #3776)
  • Improve file path consistency by updating deprecated #file usage

Changes

  • Dependencies:
    • Updated TCA to 1.22.3 in both Package.swift and [email protected]
    • Updated SwiftSyntax from "509.0.0"..<"602.0.0" to "509.0.0"..<"603.0.0"
  • File Path Consistency: Replaced #file with #filePath in LockmanIssueReporter protocol implementations
  • TCA Integration: Fixed LockmanComposableIssueReporter to use #fileID for proper integration with TCA's IssueReporting

TCA 1.22.3 Improvements

  • Fixed _PrintChangesReducer to be conditionally Sendable
  • Updated to use #filePath in scoping APIs
  • Added support for SwiftSyntax 602/603

Alignment with TCA Changes

This update aligns with swift-composable-architecture PR #3776 which updated SwiftSyntax support to version 603.

Test Plan

  • Project builds successfully with TCA 1.22.3 and SwiftSyntax 603 support
  • No breaking changes or API incompatibilities
  • File path updates maintain proper functionality
  • TCA integration warnings resolved

🤖 Generated with Claude Code

takeshishimada and others added 3 commits September 10, 2025 01:37
## Summary
- Re-enabled LockmanResultTests.swift by updating for new LockmanResult API
- Fixed all test methods to work with unlockToken parameters
- Removed .disabled extension from test file

## Changes Made
### API Compatibility Updates
- Updated all LockmanResult case usage to include unlockToken parameters:
  - .success(unlockToken: token)
  - .successWithPrecedingCancellation(unlockToken: token, error: error)
  - .cancel(error) remains unchanged
- Replaced mock strategy with TestSingleExecutionStrategy from TestSupport
- Fixed TestLockmanInfo constructor calls with proper parameter order

### Test Coverage Maintained
- All 13 comprehensive test methods updated and working
- Phase 1: Basic enum case testing with unlockToken
- Phase 2: Sendable conformance and concurrent access testing
- Phase 3: Error protocol integration testing
- Phase 4: unlockToken functionality and type safety testing

### Technical Fixes
- Removed fileprivate property access (LockmanUnlock.info)
- Fixed strategy ID references to use TestSingleExecutionStrategy
- Updated all TestLockmanInfo instantiations with correct parameters
- Ensured all pattern matching works with new API structure

## Test Results
- ✅ All 13 tests pass (Executed 13 tests, with 0 failures)
- ✅ Complete API compatibility with unlockToken integration
- ✅ Comprehensive coverage of LockmanResult enum functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Update swift-composable-architecture from 1.22.2 to 1.22.3
- Update both Package.swift and [email protected] for consistency
- Replace #file with #filePath in issue reporting for consistency with TCA 1.22.3
- Fix LockmanComposableIssueReporter to use #fileID for proper TCA integration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Update SwiftSyntax dependency from "509.0.0"..<"602.0.0" to "509.0.0"..<"603.0.0"
to align with TCA 1.22.3 requirements (swift-composable-architecture PR #3776).

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@takeshishimada takeshishimada added the enhancement New feature or request label Sep 20, 2025
@takeshishimada takeshishimada self-assigned this Sep 20, 2025
@takeshishimada takeshishimada merged commit b5c3af2 into main Sep 20, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants